#pragma once
#include "core/timer.h"

struct scene_t;
struct game_t
{
	virtual void init(HWND render_hwnd,HWND main_hwnd=0);
	virtual bool update();
	virtual void render(bool everything=false);
	virtual void exit();

	game_t();
	virtual ~game_t();

	timer_t frametimer;
	bool voltupdate;

	scene_t* scene;
	bool endgame;
	string scene_to_load;

};

extern game_t* GAME;